package com.company.linkedList;

public class SortList {


    public ListNode sortList(ListNode head) {
        if (head == null) {
            return null;
        }
        return sortByInsert(head);

    }

    private ListNode sortByInsert(ListNode head) {
    return null;

    }

    private void insertToOrderedList(ListNode orderedHead, ListNode orderedTail, ListNode currentNode) {

    }
}
